
#include <cassert>
#include <iostream>
#include <vector>
using namespace std;

int main() {
  vector<int> v1(10, 10);
  cout << v1.size() << "  " << v1.capacity() << endl;
  v1.clear();
  //   cout << v1[1] << endl;
  cout << v1.size() << "  " << v1.capacity() << endl;
  cout << v1[3] << endl;
  v1.shrink_to_fit();
  cout << v1.size() << "  " << v1.capacity() << endl;

  // cout << v1[3] << endl;

  return 0;
}